package com.ruoyi.system.domain.request.alarmhandlerecord;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class HandleAlarmParam implements Serializable {
    public String id;
    @ApiModelProperty("设备号")
    public String dvo;
    @ApiModelProperty("报警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone ="GMT+8")
    public Date adt;
    @ApiModelProperty("报警类别")
    public Integer ate;
    public double lng;
    public double lat;
    @ApiModelProperty("报警流水号")
    public Integer sro;
    @ApiModelProperty("报警编号")
    public String amc;
    @ApiModelProperty("车辆名称")
    public String vehicleName;
    @ApiModelProperty("车辆id")
    public Long vehicleId;
    @ApiModelProperty("车牌号")
    public String numberPlate;
    @ApiModelProperty("绑定id")
    public Long bindId;
    @ApiModelProperty("绑定节点名称")
    public String bindName;
    @ApiModelProperty("所属公司id")
    public Long companyId;
    @ApiModelProperty("所属公司名称")
    public String companyName;
    @ApiModelProperty("报警名称")
    public String alarmName;
    @ApiModelProperty("驾驶员信息")
    public Object driverInfo;
    @ApiModelProperty("车辆类型")
    public Integer vehicleType;
    @ApiModelProperty("告警来源(0:设备,1:平台)")
    public Integer src = 0;
    @ApiModelProperty("规则id")
    public Long ruleId;
    @ApiModelProperty("规则名称")
    public String ruleName;
    @ApiModelProperty("acc状态 0：关闭 1：打开")
    public Integer acc;
    @ApiModelProperty("速度值")
    public Integer spd;
    @ApiModelProperty("地址描述")
    public String address;
    @ApiModelProperty("处理方式 1:误报 2:文本下发")
    public Integer handleCode = 0;
    @ApiModelProperty("指令记录ID")
    private Long orderRecordId;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("当日里程")
    public double dayKMeter;
    @ApiModelProperty("卫星个数")
    public Integer satellite;
}
